package com.dk.service;

import com.dk.pojo.TAuthor;
import com.dk.pojo.TCategory;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CategoryService {
    PageInfo<TCategory> getInfo(Integer pageNum, Integer pageSize);

    int add(TCategory category);

    List<TCategory> getInfoByChannnel();

    TCategory toUpdate(Integer catId);

    int updateChannel(TCategory category);

    int deleteInfoById(Integer catId);

    List<TCategory> selectCat();
}
